<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonEdit.jsp"%>
<%@ include file="/commons/validation.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${key.addbank}</title>
<script type="text/javascript">

   function submitForm(){

     var isTrue=$("addBankForm").fireEvent("onSubmit");
      if(isTrue){

        document.getElementById("addBankForm").submit();
      }
   }

</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle"> <span class="window_head_intext">${key.addbank}</span></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_2"></td>
  </tr>
  <tr>
    <td colspan="2" class="content"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="aux_outtable_color"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">
 <form id="addBankForm" name="addBankForm" method="post" action="${ctx}/charge_cashieringAction.do?method=addBankAccount" class="required-validate">
          <input type="hidden" name="proRightId" value="${proRightId }">
           <input type="hidden" name="houseId" value="${keyword}">
          <tr>
            <td class="aux_intable_td1">${key.bankName}</td>
            <td class="aux_intable_require"><pms:unitedSelect name="bankId"
				            					  id="bankId"
				              					  dataList="${bankList}"
				              					  optionLabel="bankName"
				              					  optionValue="keyword"
				              					  className="select-one-required">
				               				</pms:unitedSelect></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">${key.bankNumber}</td>
            <td class="aux_intable_require"><table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><input name="accNumber" type="text" class="required validate-char" value="" maxLength="20" size="16"></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">${key.bankAccOwner}</td>
            <td class="aux_intable_require"><input name="accOwner" type="text" class="required validate-char" maxLength="32" value="" size="16"></td>
          </tr>
          <tr>
            <td class="aux_intable_td1">${key.contactNumber}</td>
            <td class="aux_intable_td2"><input name="contactNumber" type="text" class="inputtext validate-char" maxLength="100" value="" size="16"></td>
          </tr>
</form>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>

    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_21"></td>
   <td class="buttonOffMiddle" id="btn1_22" onClick="submitForm();" onMouseOver="btn_change_over(2)" onMouseOut="btn_change_out(2)" onBlur="btn_change(2)"><img src="${ctx}/images/ico_ok.gif" alt="" width="14" height="14" border="0" align="absbottom"> ${key.save}</td>
              <td class="buttonOffRight" id="btn1_23"></td>
            </tr>
        </table></td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)" onBlur="btn_change(3)"><img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom"> ${key.close}</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>